package com.home.Entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="DVT")
public class DVT {
	
	@Id
	@Column(name="DVT_MASO")
	private long maSo;
	@Column(name="DVT_TEN")
	private String ten;
	@Column(name="DVT_MOTA")
	private String moTa;
	@Column(name="DVT_LOAI")
	private boolean loai;
	
	
	public long getMaSo() {
		return maSo;
	}
	public void setMaSo(long maSo) {
		this.maSo = maSo;
	}
	public String getTen() {
		return ten;
	}
	public void setTen(String ten) {
		this.ten = ten;
	}
	public String getMoTa() {
		return moTa;
	}
	public void setMoTa(String moTa) {
		this.moTa = moTa;
	}
	public boolean isLoai() {
		return loai;
	}
	public void setLoai(boolean loai) {
		this.loai = loai;
	}
	
	
}
